package com.example.music.DB;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

public class CollectInfo extends LitePalSupport {
    private int Id;
    @Column(nullable = false)
    private int UserId;
    @Column(nullable = false)
    private int SongId;

    @Override
    public String toString() {
        return "CollectInfo{" +
                "UserId=" + UserId +
                ", SongId=" + SongId +
                '}';
    }
    public Integer getId() {
        return Id;
    }

    public int getUserId() {
        return UserId;
    }

    public void setUserId(int userId) {
        UserId = userId;
    }

    public int getSongId() {
        return SongId;
    }

    public void setSongId(int songId) {
        SongId = songId;
    }

    public CollectInfo(int userId, int songId) {
        UserId = userId;
        SongId = songId;
    }
}
